package com.feisi.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 联系人实体类
 */
public class Linkman implements Serializable {

    private Integer id;
    private String li_name;//联系人名字
    private String li_phone;//联系人号码
    private String li_e_mail;//联系人邮箱
    private String li_job;//联系人职务
    private String li_sex;//联系人性别
    private String li_policymaker;
    private String li_principal;//联系人负责人
    private String li_comment;//备注
    private String li_create_time;//创建时间
    private String li_creator;//创建人
    private Integer li_customer_id;//关联客户id,用于查出客户名

    private Customer customer;

    public Linkman() {
    }

    public Linkman(Integer id, String li_name, String li_phone, String li_e_mail, String li_job,
                   String li_sex, String li_policymaker, String li_principal,
                   String li_comment, String li_create_time, String li_creator,
                   Integer li_customer_id, Customer customer) {
        this.id = id;
        this.li_name = li_name;
        this.li_phone = li_phone;
        this.li_e_mail = li_e_mail;
        this.li_job = li_job;
        this.li_sex = li_sex;
        this.li_policymaker = li_policymaker;
        this.li_principal = li_principal;
        this.li_comment = li_comment;
        this.li_create_time = li_create_time;
        this.li_creator = li_creator;
        this.li_customer_id = li_customer_id;
        this.customer = customer;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLi_name() {
        return li_name;
    }

    public void setLi_name(String li_name) {
        this.li_name = li_name;
    }

    public String getLi_phone() {
        return li_phone;
    }

    public void setLi_phone(String li_phone) {
        this.li_phone = li_phone;
    }

    public String getLi_e_mail() {
        return li_e_mail;
    }

    public void setLi_e_mail(String li_e_mail) {
        this.li_e_mail = li_e_mail;
    }

    public String getLi_job() {
        return li_job;
    }

    public void setLi_job(String li_job) {
        this.li_job = li_job;
    }

    public String getLi_sex() {
        return li_sex;
    }

    public void setLi_sex(String li_sex) {
        this.li_sex = li_sex;
    }

    public String getLi_policymaker() {
        return li_policymaker;
    }

    public void setLi_policymaker(String li_policymaker) {
        this.li_policymaker = li_policymaker;
    }

    public String getLi_principal() {
        return li_principal;
    }

    public void setLi_principal(String li_principal) {
        this.li_principal = li_principal;
    }

    public String getLi_comment() {
        return li_comment;
    }

    public void setLi_comment(String li_comment) {
        this.li_comment = li_comment;
    }

    public String getLi_create_time() {
        return li_create_time;
    }

    public void setLi_create_time(String li_create_time) {
        this.li_create_time = li_create_time;
    }

    public String getLi_creator() {
        return li_creator;
    }

    public void setLi_creator(String li_creator) {
        this.li_creator = li_creator;
    }

    public Integer getLi_customer_id() {
        return li_customer_id;
    }

    public void setLi_customer_id(Integer li_customer_id) {
        this.li_customer_id = li_customer_id;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    @Override
    public String toString() {
        return "Linkman{" +
                "id=" + id +
                ", li_name='" + li_name + '\'' +
                ", li_phone='" + li_phone + '\'' +
                ", li_e_mail='" + li_e_mail + '\'' +
                ", li_job='" + li_job + '\'' +
                ", li_sex='" + li_sex + '\'' +
                ", li_policymaker='" + li_policymaker + '\'' +
                ", li_principal='" + li_principal + '\'' +
                ", li_comment='" + li_comment + '\'' +
                ", li_create_time='" + li_create_time + '\'' +
                ", li_creator='" + li_creator + '\'' +
                ", li_customer_id=" + li_customer_id +
                ", customer=" + customer +
                '}';
    }
}
